module.exports = () => {
  return function (req, res, next) {
    res.locals.currentPath = req.path
    res.locals.env = process.env.ENV
    next()
  }
}
